<template>
	<view class="container">
		<jyf-parser :html="sysConfig.cfg_pay_xianxia"></jyf-parser>
	</view>
</template>
<script>
	import jyfParser from "@/components/jyf-parser/jyf-parser";
	export default {
		components: {
			jyfParser,
		},
		data() {
			return {
				sysConfig: {
					cfg_pay_xianxia: ''
				},
			}
		},
		onLoad(options) {
			this.getSysConfig();
		},
		methods: {
			// 获取系统配置
			async getSysConfig() {
				let params = {
					method: 'api/v2/system/get_sys_configs',
					filed: "cfg_pay_xianxia"
				};
				let res = await this.$http(params);
				if (res.status) {
					this.sysConfig = res.data;
				}
			}
		}
	}
</script>

<style lang="scss">
	.container {
		position: relative;
	}
</style>
